//
// Tabs
// --------------------------------------------------


.tabs {
    border-left: 1px solid @border-color-base;
    border-bottom: 1px solid @border-color-base;
    .clearfix();

    > .tab {
        float: left;
        position: relative;
        margin-bottom: -1px;
        width: 120px;
        height: 42px;
        border: 1px solid @border-color-base;
        border-left: 0;
        text-align: center;
        color: @text-color-light;
        text-decoration: none;
        background-color: #fff;
        cursor: pointer;

        &:hover {
            color: @text-color-base;
        }
        &.active {
            color: @text-color-base;
            border-top: 2px solid @primary-color;
            border-bottom-color: #fff;

            > .tab-label {
                top: -1px;
            }
        }
        > .tab-label {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            line-height: 40px;
        }
    }
}

.tab-content {
    display: none;
    border: 1px solid @border-color-base;
    border-top: 0;

    &.active {
        display: block;
    }
}